const router = require('koa-router')()
router.prefix('/upload')
var {
  upload,
  put
} = require('../controllers/upload')
// 上传图片
router.post('/put', put)
// 上传图片
router.post('/', upload)

module.exports = router

